package com.yic.module.infra.api.job;

import com.yic.module.infra.api.job.dto.JobApiDTO;

import javax.validation.Valid;

/**
 * @Description 定时任务 API接口
 * @Author liuzhi
 * @Date 2023/12/15
 * @Version 1.0
 */
public interface JobApi {

    Long createJob(@Valid JobApiDTO jobApiDTO) throws Exception;
     void deleteJob(Long jobId) throws Exception;
}
